package homework1204;

import java.io.InputStream;
import java.net.URL;

public class Host {
    public static void main(String[] args) throws Exception {
        URL url = new URL("https://www.njxzc.edu.cn/");

        InputStream in = url.openStream();
        int x = in.read();
        while(x != -1){
            System.out.print((char)x);
            x = in.read();
        }
        in.close();
    }
}
